package JCT_Chapter_03;
import java.util.*;
public class switch_case {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("Select an option (1,2,3,4) ");
        int choice = in.nextInt();
        switch(choice) {
            case 1: {
                System.out.println("You chosen 1.");
                break;
            }
            case 2: {
                System.out.println("You chosen 2.");
                break;
            }
            case 3: {
                System.out.println("You chosen 3.");
                break;
            }
            case 4: {
                System.out.println("You chosen 4.");
                break;
            }
            default: {
                System.out.println("You chosen the wrong.");
//                break;
            }
        }
    }
}
